package com.brainhealth.common.enums;

public enum PayRuleEnum implements BaseEnum
{
    Score(0, "积分"), Money(1, "现金"), ScoreAndMoney(3, "积分和现金");
    private final int code;
    private final String info;

    PayRuleEnum(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    @Override
    public Integer getValue()
    {
        return code;
    }
}
